<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: geo3dml::Matrix3x3 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegeo3dml.html">geo3dml</a></li><li class="navelem"><a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeo3dml_1_1_matrix3x3-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">geo3dml::Matrix3x3 Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_matrix3x3_8h_source.html">Matrix3x3.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9bd76aa9c8fd232098a8e1dd89408335" id="r_a9bd76aa9c8fd232098a8e1dd89408335"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9bd76aa9c8fd232098a8e1dd89408335">Matrix3x3</a> ()</td></tr>
<tr class="separator:a9bd76aa9c8fd232098a8e1dd89408335"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5773e2630d7118603066f4cc39a0d9b" id="r_ae5773e2630d7118603066f4cc39a0d9b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae5773e2630d7118603066f4cc39a0d9b">Matrix3x3</a> (const <a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp;m)</td></tr>
<tr class="separator:ae5773e2630d7118603066f4cc39a0d9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4470bca309e491156001e6c5c4fe1dbf" id="r_a4470bca309e491156001e6c5c4fe1dbf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4470bca309e491156001e6c5c4fe1dbf">~Matrix3x3</a> ()</td></tr>
<tr class="separator:a4470bca309e491156001e6c5c4fe1dbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0792e3492008a02eaa4201554fe01f7a" id="r_a0792e3492008a02eaa4201554fe01f7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0792e3492008a02eaa4201554fe01f7a">operator=</a> (const <a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp;m)</td></tr>
<tr class="separator:a0792e3492008a02eaa4201554fe01f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add7e63e23e4cff827b0d8d64278d10a1" id="r_add7e63e23e4cff827b0d8d64278d10a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#add7e63e23e4cff827b0d8d64278d10a1">Identify</a> ()</td></tr>
<tr class="memdesc:add7e63e23e4cff827b0d8d64278d10a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">将矩阵置为单位矩阵。  <br /></td></tr>
<tr class="separator:add7e63e23e4cff827b0d8d64278d10a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acba996fb3a08fdfc624e087c8f4d4603" id="r_acba996fb3a08fdfc624e087c8f4d4603"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acba996fb3a08fdfc624e087c8f4d4603">Element</a> (int row, int col, double v)</td></tr>
<tr class="memdesc:acba996fb3a08fdfc624e087c8f4d4603"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置矩阵元素的值。  <br /></td></tr>
<tr class="separator:acba996fb3a08fdfc624e087c8f4d4603"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ecc95ef8ad4e90f008f9821d85e225e" id="r_a7ecc95ef8ad4e90f008f9821d85e225e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7ecc95ef8ad4e90f008f9821d85e225e">Element</a> (int row, int col) const</td></tr>
<tr class="memdesc:a7ecc95ef8ad4e90f008f9821d85e225e"><td class="mdescLeft">&#160;</td><td class="mdescRight">取矩阵元素的值。  <br /></td></tr>
<tr class="separator:a7ecc95ef8ad4e90f008f9821d85e225e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6f694703a8247bf5a0a360f8a415c5a" id="r_ac6f694703a8247bf5a0a360f8a415c5a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac6f694703a8247bf5a0a360f8a415c5a">Determinant</a> () const</td></tr>
<tr class="memdesc:ac6f694703a8247bf5a0a360f8a415c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算该矩阵的行列式。  <br /></td></tr>
<tr class="separator:ac6f694703a8247bf5a0a360f8a415c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a027d1b4c35309dddd7507fe464cd5117" id="r_a027d1b4c35309dddd7507fe464cd5117"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a027d1b4c35309dddd7507fe464cd5117">matrix_</a> [9]</td></tr>
<tr class="memdesc:a027d1b4c35309dddd7507fe464cd5117"><td class="mdescLeft">&#160;</td><td class="mdescRight">行优先的矩阵，即首3个元素对应矩阵第一行从左至右的3个元素。  <br /></td></tr>
<tr class="separator:a027d1b4c35309dddd7507fe464cd5117"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9bd76aa9c8fd232098a8e1dd89408335" name="a9bd76aa9c8fd232098a8e1dd89408335"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bd76aa9c8fd232098a8e1dd89408335">&#9670;&#160;</a></span>Matrix3x3() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geo3dml::Matrix3x3::Matrix3x3 </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae5773e2630d7118603066f4cc39a0d9b" name="ae5773e2630d7118603066f4cc39a0d9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5773e2630d7118603066f4cc39a0d9b">&#9670;&#160;</a></span>Matrix3x3() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geo3dml::Matrix3x3::Matrix3x3 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>m</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4470bca309e491156001e6c5c4fe1dbf" name="a4470bca309e491156001e6c5c4fe1dbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4470bca309e491156001e6c5c4fe1dbf">&#9670;&#160;</a></span>~Matrix3x3()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geo3dml::Matrix3x3::~Matrix3x3 </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac6f694703a8247bf5a0a360f8a415c5a" name="ac6f694703a8247bf5a0a360f8a415c5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6f694703a8247bf5a0a360f8a415c5a">&#9670;&#160;</a></span>Determinant()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double geo3dml::Matrix3x3::Determinant </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>计算该矩阵的行列式。 </p>
<dl class="section return"><dt>Returns</dt><dd>矩阵的行列式的值。 </dd></dl>

</div>
</div>
<a id="a7ecc95ef8ad4e90f008f9821d85e225e" name="a7ecc95ef8ad4e90f008f9821d85e225e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ecc95ef8ad4e90f008f9821d85e225e">&#9670;&#160;</a></span>Element() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double geo3dml::Matrix3x3::Element </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>row</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>col</em></span>&#160;) const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>取矩阵元素的值。 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>该元素的位置：行号（[1, 3]）。 </td></tr>
    <tr><td class="paramname">col</td><td>该元素的位置：列号（[1, 3]）。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>该元素的值。位置无效时返回0。 </dd></dl>

</div>
</div>
<a id="acba996fb3a08fdfc624e087c8f4d4603" name="acba996fb3a08fdfc624e087c8f4d4603"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acba996fb3a08fdfc624e087c8f4d4603">&#9670;&#160;</a></span>Element() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp; geo3dml::Matrix3x3::Element </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>row</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>col</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double</td>          <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置矩阵元素的值。 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>该元素的位置：行号（[1, 3]）。 </td></tr>
    <tr><td class="paramname">col</td><td>该元素的位置：列号（[1, 3]）。 </td></tr>
    <tr><td class="paramname">v</td><td>该元素的值。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>返回被修改后的矩阵。 </dd></dl>

</div>
</div>
<a id="add7e63e23e4cff827b0d8d64278d10a1" name="add7e63e23e4cff827b0d8d64278d10a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add7e63e23e4cff827b0d8d64278d10a1">&#9670;&#160;</a></span>Identify()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp; geo3dml::Matrix3x3::Identify </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将矩阵置为单位矩阵。 </p>
<dl class="section return"><dt>Returns</dt><dd>返回被修改后的矩阵。 </dd></dl>

</div>
</div>
<a id="a0792e3492008a02eaa4201554fe01f7a" name="a0792e3492008a02eaa4201554fe01f7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0792e3492008a02eaa4201554fe01f7a">&#9670;&#160;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp; geo3dml::Matrix3x3::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeo3dml_1_1_matrix3x3.html">Matrix3x3</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>m</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a027d1b4c35309dddd7507fe464cd5117" name="a027d1b4c35309dddd7507fe464cd5117"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a027d1b4c35309dddd7507fe464cd5117">&#9670;&#160;</a></span>matrix_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double geo3dml::Matrix3x3::matrix_[9]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>行优先的矩阵，即首3个元素对应矩阵第一行从左至右的3个元素。 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/geo3dml/<a class="el" href="_matrix3x3_8h_source.html">Matrix3x3.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
